package com.haoqizhe.kernel.activemq.producer;

import com.haoqizhe.kernel.activemq.entity.SendParam;

/**
 * @author haoqizhe.li on 2017/7/12.
 */
public interface IProducer {
    /**
     * 发生消息
     * @param sendParam
     * @throws Exception
     */
    void send(SendParam sendParam)throws Exception;

}
